import {Component, OnInit} from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit {
  title = 'app';
  headerShow = true;

  constructor() {

  }

  ngOnInit() {
    const pathname = window.location.pathname;
    if (pathname == '/publish') {
      this.headerShow = false;
    }
  }
}
